package de.dpunkt.myaktion.model;

public class Konto {
	private String name;
	private String nameDerBank;
	private String kontoNr;
	private String blz;
	
	public Konto() {
		this(null, null, null, null);
	}
	
	public Konto(final String name, final String nameDerBank, final String kontoNr, final String blz) {
		this.name = name;
		this.nameDerBank = nameDerBank;
		this.kontoNr = kontoNr;
		this.blz = blz;
	}
	
 	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getNameDerBank() {
		return nameDerBank;
	}
	public void setNameDerBank(String nameDerBank) {
		this.nameDerBank = nameDerBank;
	}
	public String getKontoNr() {
		return kontoNr;
	}
	public void setKontoNr(String kontoNr) {
		this.kontoNr = kontoNr;
	}
	public String getBlz() {
		return blz;
	}
	public void setBlz(String blz) {
		this.blz = blz;
	}

	@Override
	public String toString() {
		return "Konto [name=" + name + ", nameDerBank=" + nameDerBank
				+ ", kontoNr=" + kontoNr + ", blz=" + blz + "]";
	}
}
